﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Src="~/controls/EmbeddedYoutubePlayer.ascx" TagName="YouTubeEmbed" TagPrefix="fo" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Youtube Example</title>
</head>
<body>
    <form id="form1" runat="server">    
        <div>
            <%--Properties set via tag.  You still have to call YouTube1.initializeEmbeddedYoutubePlayer();
            See Page_Load--%>
            <fo:YouTubeEmbed ID="YouTube1" runat="server" autoplay="true" YoutubeVideoId="-NxSBWsRRNM" AutoInit="true" />
            <br />
            <br />
            <br />
            <br />
            <%--Properties set programmatically.  See buildTestYouTubeContainer()--%>
            <fo:YouTubeEmbed ID="YouTube2" runat="server" />
        </div>    
    </form>
</body>
</html>
